package com.infore.dataAudit.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import com.infore.dataAudit.remote.impl.QualityControlServiceFallbackFactory;
import com.infore.dataAudit.util.ResultEntity;
import com.infore.dataAudit.vo.QualityParamOutSelectBo;


@FeignClient(name = "QualityControl-Service", url="localhost:61003/QualityControl-Service/",
            fallbackFactory = QualityControlServiceFallbackFactory.class)
public interface IQualityControlService {
    
    @RequestMapping(value = "dataAuditOutside/zeroDriftData", method = RequestMethod.POST)
    ResultEntity zeroDriftData(@RequestBody QualityParamOutSelectBo qualityParamSelectBo);
    
    @RequestMapping(value = "dataAuditOutside/spanDriftData", method = RequestMethod.POST)
    ResultEntity spanDriftData(@RequestBody QualityParamOutSelectBo qualityParamSelectBo);
}
